import NumberTimer from "./number"


let numberTimer = new NumberTimer(200, 1);
// console.log(numberTimer);

let isStart = false;

document.onclick = function() {
    if(!isStart) {
        numberTimer.start();
        isStart = true;
    }else{
        numberTimer.stop();
        isStart = false;
    }
}